const WX_ENV = __wxConfig.envVersion; // release - trial - develop
const APP_ENV = "dev";
let BASE_URL = "https://app-gateway-dev.hcpos.cn";
const APP_KEY = "DRUG-ADMIN";
const UPLOAD_URL = "https://admin-gateway-dev.hcpos.cn/file/upload";
// #ifdef MP
BASE_URL = WX_ENV === "release" ? "https://admin-gateway-prod.sevenlove.cn" : "https://admin-gateway-dev.hcpos.cn";
// #endif

// #ifdef APP
BASE_URL = APP_ENV === "dev" ? "https://admin-gateway-dev.hcpos.cn" : "https://admin-gateway-prod.hcpos.cn";
// #endif

const IMG_BASE_URL = "https://image.ccodf.com/mini-app/imgs";

export {
	APP_KEY,
	BASE_URL,
	IMG_BASE_URL,
	UPLOAD_URL
}